package com.ltu.domain.mp_entity.customize;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ltu.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会话详情
 * </p>
 * @author 若尘
 * @since 2024-10-17
 */
@Accessors(chain = true)
@TableName("tb_session_record")
@ApiModel(value="SessionRecordEntity对象", description="会话详情")
public class SessionRecordEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

		  @ApiModelProperty(value = " create_time:创建时间 ")
		 		  private Date createTime;
    	  @ApiModelProperty(value = " create_oper:创建者 ")
		 		  private String createOper;
    	  @ApiModelProperty(value = " update_time:操作时间 ")
		 		  private Date updateTime;
    	  @ApiModelProperty(value = " update_oper:操作人 ")
		 		  private String updateOper;
    	  @ApiModelProperty(value = " del_flag:删除标识 0 未删除 1 已删除 ")
		 		  private Integer delFlag;
    	  @ApiModelProperty(value = " version:版本号 ")
		 		  private Integer version;
    	  @ApiModelProperty(value = " session_id:会话id ")
		 		  private Integer sessionId;
    	  @ApiModelProperty(value = " device_mac:设备码 ")
		 		  private String deviceMac;
    	  @ApiModelProperty(value = " device_id:设备id ")
		 		  private Integer deviceId;
    	  @ApiModelProperty(value = " role:角色 ")
		 		  private String role;
    	  @ApiModelProperty(value = " content:内容 ")
		 		  private String content;
    	  @ApiModelProperty(value = " if_show:是否显示 ")
		 		  private String ifShow;
    	  @ApiModelProperty(value = " if_context:是否可统计为上下文 0 否 1 是 ")
		 		  private String ifContext;
    	  @ApiModelProperty(value = " if_domain_top:是否为领域会话的最上文 ")
		 		  private String ifDomainTop;
    	  @ApiModelProperty(value = " consumer_token:消耗token数 ")
		 		  private Integer consumerToken;
    	  @ApiModelProperty(value = " chat_model_id:所使用模型ID ")
		 		  private Integer chatModelId;
    	  @ApiModelProperty(value = " chat_model_value:模型值 ")
		 		  private String chatModelValue;
    	  @ApiModelProperty(value = "回答记录唯一标识")
    	  private String bubbleId;
    	  @ApiModelProperty(value = " 消耗的totalToken ")
    	  private Integer totalToken;
      	  @ApiModelProperty(value = " 对话用户 ")
    	  private  Integer userId;
     
		public String getBubbleId() {
			return bubbleId;
		}
		public SessionRecordEntity setBubbleId(String bubbleId) {
			this.bubbleId = bubbleId;
			return this;
		}
		/**
		 * 创建时间
		 */
	    public Date getCreateTime() {
	        return createTime;
	    }
		/**
		 * 创建时间
		 */
	    public SessionRecordEntity setCreateTime(Date createTime) {
	       this.createTime = createTime;
	        return this;
	    }
		/**
		 * 创建者
		 */
	    public String getCreateOper() {
	        return createOper;
	    }
		/**
		 * 创建者
		 */
	    public SessionRecordEntity setCreateOper(String createOper) {
	       this.createOper = createOper;
	        return this;
	    }
		/**
		 * 操作时间
		 */
	    public Date getUpdateTime() {
	        return updateTime;
	    }
		/**
		 * 操作时间
		 */
	    public SessionRecordEntity setUpdateTime(Date updateTime) {
	       this.updateTime = updateTime;
	        return this;
	    }
		/**
		 * 操作人
		 */
	    public String getUpdateOper() {
	        return updateOper;
	    }
		/**
		 * 操作人
		 */
	    public SessionRecordEntity setUpdateOper(String updateOper) {
	       this.updateOper = updateOper;
	        return this;
	    }
		/**
		 * 删除标识 0 未删除 1 已删除
		 */
	    public Integer getDelFlag() {
	        return delFlag;
	    }
		/**
		 * 删除标识 0 未删除 1 已删除
		 */
	    public SessionRecordEntity setDelFlag(Integer delFlag) {
	       this.delFlag = delFlag;
	        return this;
	    }
		/**
		 * 版本号
		 */
	    public Integer getVersion() {
	        return version;
	    }
		/**
		 * 版本号
		 */
	    public SessionRecordEntity setVersion(Integer version) {
	       this.version = version;
	        return this;
	    }
		/**
		 * 会话id
		 */
	    public Integer getSessionId() {
	        return sessionId;
	    }
		/**
		 * 会话id
		 */
	    public SessionRecordEntity setSessionId(Integer sessionId) {
	       this.sessionId = sessionId;
	        return this;
	    }
		/**
		 * 设备码
		 */
	    public String getDeviceMac() {
	        return deviceMac;
	    }
		/**
		 * 设备码
		 */
	    public SessionRecordEntity setDeviceMac(String deviceMac) {
	       this.deviceMac = deviceMac;
	        return this;
	    }
		/**
		 * 设备id
		 */
	    public Integer getDeviceId() {
	        return deviceId;
	    }
		/**
		 * 设备id
		 */
	    public SessionRecordEntity setDeviceId(Integer deviceId) {
	       this.deviceId = deviceId;
	        return this;
	    }
		/**
		 * 角色
		 */
	    public String getRole() {
	        return role;
	    }
		/**
		 * 角色
		 */
	    public SessionRecordEntity setRole(String role) {
	       this.role = role;
	        return this;
	    }
		/**
		 * 内容
		 */
	    public String getContent() {
	        return content;
	    }
		/**
		 * 内容
		 */
	    public SessionRecordEntity setContent(String content) {
	       this.content = content;
	        return this;
	    }
		/**
		 * 是否显示
		 */
	    public String getIfShow() {
	        return ifShow;
	    }
		/**
		 * 是否显示
		 */
	    public SessionRecordEntity setIfShow(String ifShow) {
	       this.ifShow = ifShow;
	        return this;
	    }
		/**
		 * 是否可统计为上下文 0 否 1 是
		 */
	    public String getIfContext() {
	        return ifContext;
	    }
		/**
		 * 是否可统计为上下文 0 否 1 是
		 */
	    public SessionRecordEntity setIfContext(String ifContext) {
	       this.ifContext = ifContext;
	        return this;
	    }
		/**
		 * 是否为领域会话的最上文
		 */
	    public String getIfDomainTop() {
	        return ifDomainTop;
	    }
		/**
		 * 是否为领域会话的最上文
		 */
	    public SessionRecordEntity setIfDomainTop(String ifDomainTop) {
	       this.ifDomainTop = ifDomainTop;
	        return this;
	    }
		/**
		 * 消耗token数
		 */
	    public Integer getConsumerToken() {
	        return consumerToken;
	    }
		/**
		 * 消耗token数
		 */
	    public SessionRecordEntity setConsumerToken(Integer consumerToken) {
	       this.consumerToken = consumerToken;
	        return this;
	    }
		/**
		 * 所使用模型ID
		 */
	    public Integer getChatModelId() {
	        return chatModelId;
	    }
		/**
		 * 所使用模型ID
		 */
	    public SessionRecordEntity setChatModelId(Integer chatModelId) {
	       this.chatModelId = chatModelId;
	        return this;
	    }
		/**
		 * 模型值
		 */
	    public String getChatModelValue() {
	        return chatModelValue;
	    }
		/**
		 * 模型值
		 */
	    public SessionRecordEntity setChatModelValue(String chatModelValue) {
	       this.chatModelValue = chatModelValue;
	        return this;
	    }
		public Integer getTotalToken() {
			return totalToken;
		}
		public void setTotalToken(Integer totalToken) {
			this.totalToken = totalToken;
		}
		public Integer getUserId() {
			return userId;
		}
		public void setUserId(Integer userId) {
			this.userId = userId;
		}




}
